package com.cy.ppj.model.ao.order;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.NotEmpty;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 添加订单浏览记录
 * @author: tanyilin
 * @create: 2018年7月20日 下午8:15:58
 */
@Data
@ApiModel("添加订单浏览记录")
public class OrderScanRecordAddAO {

	@ApiModelProperty(value = "产品ID", example = "0", required = true)
	@NotNull(message = "产品ID不可为空")
	private Long productId;
	
	@ApiModelProperty(value = "客户姓名", required = true)
	@NotEmpty(message = "客户姓名不可为空")
	private String name;
	
	@ApiModelProperty(value = "客户手机号码", required = true)
	@NotEmpty(message = "客户手机号码不可为空")
	private String mobile;

	@ApiModelProperty(value = "客户身份证号码", required = true)
	@NotEmpty(message = "客户身份证号码不可为空")
	private String idNo;
	
	@ApiModelProperty(value = "经纪人手机号码", required = true)
	private String brokerMobile;
	
}
